package cn.itcast.domain.cargo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class PackingList implements Serializable {

    private String packingListId;                                       //装箱单的id主键
    private String exportIds;                                     //报运单ID集合
    private String exportNos;                                     //报运合同号集合
    private Date packingTime;                                     //装箱时间
    private Double totalVolume;                                          //总体积
    private Double netWeights;                                        //总净重
    private Double grossWeights;                                           //总毛重
    private String marks;                                      //唛头
    private String description;                                         //描述
    private Double packingMoney;                                           //装箱费用
    private String state;                                    //状态 0草稿    1已委托
    private String shipmentPort;                                          //报运单的装运港  一致
    private String destinationPort;                                   //报运单的目的港  一致
    private String consignee;                                     //报运单的收货人   一致
    private Date createTime;                                   //建立时间
    private String checkBy;                                    //建立人
    private String deptId;                                    //建立人的部门id
    private String companyId;            //建立人的公司id
    private List<Export> exportList;                      //一个装箱单对应多个报运单
    public List<Export> getExportList() {
        return exportList;
    }

    public void setExportList(List<Export> exportList) {
        this.exportList = exportList;
    }

    public String getPackingListId() {
        return packingListId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.packing_list_id
     *
     * @param packingListId the value for packing_list.packing_list_id
     * @mbg.generated
     */
    public void setPackingListId(String packingListId) {
        this.packingListId = packingListId == null ? null : packingListId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.export_ids
     *
     * @return the value of packing_list.export_ids
     * @mbg.generated
     */
    public String getExportIds() {
        return exportIds;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.export_ids
     *
     * @param exportIds the value for packing_list.export_ids
     * @mbg.generated
     */
    public void setExportIds(String exportIds) {
        this.exportIds = exportIds == null ? null : exportIds.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.export_nos
     *
     * @return the value of packing_list.export_nos
     * @mbg.generated
     */
    public String getExportNos() {
        return exportNos;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.export_nos
     *
     * @param exportNos the value for packing_list.export_nos
     * @mbg.generated
     */
    public void setExportNos(String exportNos) {
        this.exportNos = exportNos == null ? null : exportNos.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.packing_time
     *
     * @return the value of packing_list.packing_time
     * @mbg.generated
     */
    public Date getPackingTime() {
        return packingTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.packing_time
     *
     * @param packingTime the value for packing_list.packing_time
     * @mbg.generated
     */
    public void setPackingTime(Date packingTime) {
        this.packingTime = packingTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.total_volume
     *
     * @return the value of packing_list.total_volume
     * @mbg.generated
     */
    public Double getTotalVolume() {
        return totalVolume;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.total_volume
     *
     * @param totalVolume the value for packing_list.total_volume
     * @mbg.generated
     */
    public void setTotalVolume(Double totalVolume) {
        this.totalVolume = totalVolume;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.net_weights
     *
     * @return the value of packing_list.net_weights
     * @mbg.generated
     */
    public Double getNetWeights() {
        return netWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.net_weights
     *
     * @param netWeights the value for packing_list.net_weights
     * @mbg.generated
     */
    public void setNetWeights(Double netWeights) {
        this.netWeights = netWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.gross_weights
     *
     * @return the value of packing_list.gross_weights
     * @mbg.generated
     */
    public Double getGrossWeights() {
        return grossWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.gross_weights
     *
     * @param grossWeights the value for packing_list.gross_weights
     * @mbg.generated
     */
    public void setGrossWeights(Double grossWeights) {
        this.grossWeights = grossWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.marks
     *
     * @return the value of packing_list.marks
     * @mbg.generated
     */
    public String getMarks() {
        return marks;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.marks
     *
     * @param marks the value for packing_list.marks
     * @mbg.generated
     */
    public void setMarks(String marks) {
        this.marks = marks == null ? null : marks.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.description
     *
     * @return the value of packing_list.description
     * @mbg.generated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.description
     *
     * @param description the value for packing_list.description
     * @mbg.generated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.packing_money
     *
     * @return the value of packing_list.packing_money
     * @mbg.generated
     */
    public Double getPackingMoney() {
        return packingMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.packing_money
     *
     * @param packingMoney the value for packing_list.packing_money
     * @mbg.generated
     */
    public void setPackingMoney(Double packingMoney) {
        this.packingMoney = packingMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.state
     *
     * @return the value of packing_list.state
     * @mbg.generated
     */
    public String getState() {
        return state;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.state
     *
     * @param state the value for packing_list.state
     * @mbg.generated
     */
    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.shipment_port
     *
     * @return the value of packing_list.shipment_port
     * @mbg.generated
     */
    public String getShipmentPort() {
        return shipmentPort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.shipment_port
     *
     * @param shipmentPort the value for packing_list.shipment_port
     * @mbg.generated
     */
    public void setShipmentPort(String shipmentPort) {
        this.shipmentPort = shipmentPort == null ? null : shipmentPort.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.destination_port
     *
     * @return the value of packing_list.destination_port
     * @mbg.generated
     */
    public String getDestinationPort() {
        return destinationPort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.destination_port
     *
     * @param destinationPort the value for packing_list.destination_port
     * @mbg.generated
     */
    public void setDestinationPort(String destinationPort) {
        this.destinationPort = destinationPort == null ? null : destinationPort.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.consignee
     *
     * @return the value of packing_list.consignee
     * @mbg.generated
     */
    public String getConsignee() {
        return consignee;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.consignee
     *
     * @param consignee the value for packing_list.consignee
     * @mbg.generated
     */
    public void setConsignee(String consignee) {
        this.consignee = consignee == null ? null : consignee.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.create_time
     *
     * @return the value of packing_list.create_time
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.create_time
     *
     * @param createTime the value for packing_list.create_time
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.check_by
     *
     * @return the value of packing_list.check_by
     * @mbg.generated
     */
    public String getCheckBy() {
        return checkBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.check_by
     *
     * @param checkBy the value for packing_list.check_by
     * @mbg.generated
     */
    public void setCheckBy(String checkBy) {
        this.checkBy = checkBy == null ? null : checkBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.dept_id
     *
     * @return the value of packing_list.dept_id
     * @mbg.generated
     */
    public String getDeptId() {
        return deptId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.dept_id
     *
     * @param deptId the value for packing_list.dept_id
     * @mbg.generated
     */
    public void setDeptId(String deptId) {
        this.deptId = deptId == null ? null : deptId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column packing_list.company_id
     *
     * @return the value of packing_list.company_id
     * @mbg.generated
     */
    public String getCompanyId() {
        return companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column packing_list.company_id
     *
     * @param companyId the value for packing_list.company_id
     * @mbg.generated
     */
    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }
}